package dba

import (
	"MBTIx/models"

	"github.com/jmoiron/sqlx"
)

func GetOptionByProId(db *sqlx.DB, pro_id int,options *[]models.Option){
	db.Select(options,
		`select * from option where pro_id = $1`,pro_id)
}